package cn.usian.pojo.basicInformation.log;

import cn.usian.pojo.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class LogDto extends Entity implements Serializable {


  private Integer pageNum = 1;

  private Integer pageSize = 10;

  private long id;

  private String operationModule;

  private List<String> operationType;

  private String beforeOperation;

  private String afterOperation;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime startTime;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime endTime;

  private String updateName;


}
